{% load comments %}
<div class="widget">
        <h3>TOP 5 комментаторов месяца</h3>
        <ol id="commentatorsTop">
            {% for user in users %}
                <li style="position: relative;">
                    <span class="commentator{{ forloop.counter }}">{{ user.get_profile.get_user_name }}</span>
                    <br/>Комментариев: {{ user.num_comments }}

                    <div class="ranks">
                        {% for rank in user.get_profile.ranks.all %}
                            <img src="/static/images/medals/{{ rank.rank_icon }}" title="{{ rank.description }}" />
                        {% endfor %}
                    </div>

                </li>
            {% endfor %}
        </ol>
</div>
